.th DATE I 11/1/74
.sh NAME
date \*- print and set the date
.sh SYNOPSIS
.bd date
[
.bd s
]
[ mmddhhmm[yy] ]
.sh DESCRIPTION
If no argument is given, the current date and time are printed.
If an argument is given, the current date is set.
The first
.it mm
is the month number;
.it dd
is the day number in the month;
.it hh
is the hour number (24 hour system);
the second
.it mm
is the minute number;
.it yy
is the last 2 digits of the year number and is optional.
For example:
.s3
.bd"      date 10080045"
.s3
sets the date to Oct 8, 12:45 AM.
The current year is the default if no year is mentioned.
The system operates in GMT.
.it Date
takes care of the conversion to and from
local standard and daylight time.
.s3
If the argument is ``s,''
.it date
calls the network file store via the TIU interface
(if present) and sets the clock to the
time thereby obtained.
.sh DIAGNOSTICS
``No permission'' if
you aren't the super-user and you try to change the date;
``bad conversion'' if the date set is syntactically incorrect.
.sh FILES
/dev/tiu/d0
.sh BUGS
